package cn.qingyun.gis.modules.building.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @Description: 楼宇摸排表表实体对象
 * @Version: V1.0
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = false)
@TableName("building_proofread")
@ApiModel(value = "BuildingProofread对象", description = "BuildingProofread对象")
public class BuildingProofread implements Serializable {

    private static final long serialVersionUID = 1L;
    /**
     * 主键id
     */
    @ApiModelProperty(value = "主键id")
    @TableId(value = "id", type = IdType.ASSIGN_UUID)
    private String id;

    /**
     * building_gaode 表关联ID
     */
    @ApiModelProperty(value = "building_gaode 表关联ID")
    @Excel(name = "building_gaode 表关联ID", width = 15)
    private String gaodeId;

    /**
     * building_gather 表关联ID
     */
    @ApiModelProperty(value = "building_gather 表关联ID")
    @Excel(name = "building_gather 表关联ID", width = 15)
    private String gatherId;

    /**
     * 地市
     */
    @ApiModelProperty(value = "地市")
    @Excel(name = "地市", width = 15)
    private String city;

    /**
     * 区县
     */
    @ApiModelProperty(value = "区县")
    @Excel(name = "区县", width = 15)
    private String district;

    /**
     * 网格
     */
    @ApiModelProperty(value = "网格")
    @Excel(name = "网格", width = 15)
    private String gridName;

    /**
     * 是否归属本网格(0:不归属,1:归属)
     */
    @ApiModelProperty(value = "是否归属本网格(0:不归属,1:归属)")
    @Excel(name = "是否归属本网格(0:不归属,1:归属)", width = 15)
    private Integer gridBelongStatus;

    /**
     * 应属区县
     */
    @ApiModelProperty(value = "应属区县")
    @Excel(name = "应属区县", width = 15)
    private String belongCounty;

    /**
     * 应属网格
     */
    @ApiModelProperty(value = "应属网格")
    @Excel(name = "应属网格", width = 15)
    private String belongGrid;

    /**
     * 覆盖是否到楼（1:是 0:否）
     */
    @ApiModelProperty(value = "覆盖是否到楼（1:是 0:否）")
    @Excel(name = "覆盖是否到楼（1:是 0:否）", width = 15)
    private Integer buildingCoverFlag;

    /**
     * 覆盖是否到层（1:是 0:否）
     */
    @ApiModelProperty(value = "覆盖是否到层（1:是 0:否）")
    @Excel(name = "覆盖是否到层（1:是 0:否）", width = 15)
    private Integer floorCoverFlag;

    /**
     * 是否有专线业务（1:是 0:否）
     */
    @ApiModelProperty(value = "是否有专线业务（1:是 0:否）")
    @Excel(name = "是否有专线业务（1:是 0:否）", width = 15)
    private Integer dedicatedLineFlag;

    /**
     * 是否有企宽业务（1:是 0:否）
     */
    @ApiModelProperty(value = "是否有企宽业务（1:是 0:否）")
    @Excel(name = "是否有企宽业务（1:是 0:否）", width = 15)
    private Integer enterpriseWidthFlag;

    /**
     * 楼内光交箱个数
     */
    @ApiModelProperty(value = "楼内光交箱个数")
    @Excel(name = "楼内光交箱个数", width = 15)
    private Integer opticalBoxCount;

    /**
     * 入楼光缆条数
     */
    @ApiModelProperty(value = "入楼光缆条数")
    @Excel(name = "入楼光缆条数", width = 15)
    private Integer opticalCableCount;

    /**
     * 入楼光缆纤芯总数
     */
    @ApiModelProperty(value = "入楼光缆纤芯总数")
    @Excel(name = "入楼光缆纤芯总数", width = 15)
    private Integer opticCableCoreCount;

    /**
     * 入楼光缆纤芯占用总数
     */
    @ApiModelProperty(value = "入楼光缆纤芯占用总数")
    @Excel(name = "入楼光缆纤芯占用总数", width = 15)
    private Integer opticCableCoreOccuCount;

    /**
     * 楼内分纤箱个数
     */
    @ApiModelProperty(value = "楼内分纤箱个数")
    @Excel(name = "楼内分纤箱个数", width = 15)
    private Integer splittingBoxCount;

    /**
     * 分纤箱所在楼层（多层用“/”分割）
     */
    @ApiModelProperty(value = "分纤箱所在楼层（多层用“/”分割）")
    @Excel(name = "分纤箱所在楼层（多层用“/”分割）", width = 15)
    private String associationData;

    /**
     * 分光器总端口数
     */
    @ApiModelProperty(value = "分光器总端口数")
    @Excel(name = "分光器总端口数", width = 15)
    private Integer spectrophotometerCount;

    /**
     * 分光器占用端口数
     */
    @ApiModelProperty(value = "分光器占用端口数")
    @Excel(name = "分光器占用端口数", width = 15)
    private Integer spectrophotometerOccuCount;

    /**
     * 备注
     */
    @ApiModelProperty(value = "备注")
    @Excel(name = "备注", width = 15)
    private String remark;

    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    @Excel(name = "创建时间", width = 15)
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /**
     * 修改时间
     */
    @ApiModelProperty(value = "修改时间")
    @Excel(name = "修改时间", width = 15)
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

}
